<template>
<div>
<h4>我的单词本</h4>
</div>
</template>

<script>
import axios from 'axios'
export default{
	name:'words',
	data(){
	return{
	words:[],
	count:0,
	page:1,
	num:null
	}
	},
	methods:{
	show:function(page){
	axios.get('http://app.sencha.com.cn/soya/apps/testdb/server/?action=wordList.list&perPage=3&page='+page).then((response)=>{
	console.log(response.data.data);
	})
	}
	},
	created:function(){
	this.show(1);
	}
}
</script>